package com.addplus.townmall.server.api.model.town.param;

import com.addplus.townmall.server.api.model.town.DistributionShopRule;
import com.addplus.townmall.server.api.model.town.ShopAttributesValue;
import com.addplus.townmall.server.api.model.town.ShopProduct;
import com.addplus.townmall.server.api.model.town.ShopSpecificationSku;
import com.addplus.townmall.server.api.model.town.expand.ShopSpecNameValues;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * @author fuyq
 * @date 2018/10/25
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AddShopProductParam extends ShopProduct {

    private List<SpecParam> specList;

    private String shopProductDescribe;

    private String shopAttributesValue;

    private List<ShopSpecNameValues> shopSpecNameValues;

    private Map<String, ShopSpecificationSku> shopSpecificationSkus;

    private String relationShopId;

    // 分销规则
    // private DistributionShopRule distributionShopRule;
    // 分销规则字段
    private BigDecimal primaryDistributionRate;
    private BigDecimal secondaryDistributionRate;
    private BigDecimal tertiaryDistributionRate;
    private Integer type;

}
